﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using FutureApp.Cms.Dto;
using FutureApp.Orders.Dto;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace FutureApp.Orders

{
    /// <summary>
    ///应用服务
    /// </summary>
    public interface IOrdersAppService : IApplicationService
    {
        /// <summary>
        /// 提交申请
        /// </summary>
        /// <param name="input">参数</param>
        Task CreateOrderHead(CreateOrderHeadInput input);
        /// <summary>
        /// 分期明细
        /// </summary>
        /// <param name="input">参数</param>
        Task CreateOrderMain(CreateOrderMainInput input);
        /// <summary>
        /// 个人用户审核进度详情列表
        /// </summary>
        /// <returns></returns>
        ListResultDto<OrderHeadListOutput> GetListByTel(string tel);
        /// <summary>
        /// 商户审核进度详情列表
        /// </summary>
        /// <returns></returns>
        ListResultDto<OrderHeadListOutput> GetListByCreatorUserId(long creatorId);

    }
}
